import { View, Text } from 'react-native'
import React from 'react'
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
import B11 from './B11';
import B12 from './B12';
const Tab = createMaterialTopTabNavigator();
const TopTabs = () => {
    return (
        <Tab.Navigator>
          <Tab.Screen name="B11" component={B11} />
          <Tab.Screen name="B12" component={B12} />
        </Tab.Navigator>
      );
}

export default function B1() {
  return (
    <View style={{flex:1}}>
      <Text>B1页面123</Text>
        <View style={{flex:1}}>
            <TopTabs></TopTabs>
        </View>
    </View>
  )
}